Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(iroh-gossip): Wait for the relay to make gossip_net_smoke faster. #2663

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

matheus23
Copy link
Contributor

Description

Just a tiny change that improves performance from ~1s -> ~0.4s on my machine.

Breaking Changes

None

Notes & open questions

One could argue we shouldn't make this change, because it doesn't cause that much erratic behavior. We should rather write tests that fail on "more bugs".
I'm not sure. Perhaps the gossip smoke test shouldn't be the test that we use to stress network edge cases.

Change checklist

  • Self-review.
  • [ ] Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

@matheus23 matheus23 self-assigned this Aug 23, 2024
Copy link

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/2663/docs/iroh/

Last updated: 2024-08-23T08:52:13Z

Copy link
Contributor

@flub flub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps the gossip smoke test shouldn't be the test that we use to stress network edge cases.

Totally, I think tests should be fast and target just the thing they care about.

@matheus23 matheus23 added this pull request to the merge queue Aug 23, 2024
Merged via the queue into main with commit 1d3f3fa Aug 23, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants